/**
 * @Auto generation code
 * Bank Controller
 */
import request from '../common/request/request.js'

/**
 * 
 * path, params, body, loading
 * getServiceAvailableV2 - POST
 */
export const getServiceAvailableV2 = async (loading) => {
	return await request.post('/shb-api/availableTime', {
		
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, body, loading
 * createNewBankOrder - POST
 */
export const createNewBankOrder = async ({// query params
		ygj-platform   // ygj-platform  
	
}, loading) => {
	return await request.post('/shb-api/order', {
		 ygj-platform, 
	}, {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * oneOrderDetail - GET
 */
export const oneOrderDetail = async (, {// path params
		orderId   // orderId ,必填 
	
}, loading) => {
	return await request.get('/shb-api/orderDetail/${orderId}', {
		
	}, loading)
}


/**
 * 
 * path, params, loading
 * verify - GET
 */
export const verify = async ({// query params
		sign ,   // sign ,必填 
		source ,   // source ,必填 
		userId ,   // userId ,必填 
		orderId ,   // orderId ,必填 
		exchangeCode   // exchangeCode ,必填 
	
}, loading) => {
	return await request.get('/shb-api/verify', {
		 sign,  source,  userId,  orderId,  exchangeCode, 
	}, loading)
}


/**
 * 
 * path, params, loading
 * verify_red - GET
 */
export const verify_red = async ({// query params
		sign ,   // sign ,必填 
		source ,   // source ,必填 
		userId ,   // userId ,必填 
		orderId ,   // orderId ,必填 
		exchangeCode   // exchangeCode ,必填 
	
}, loading) => {
	return await request.get('/shb-api/verify_red', {
		 sign,  source,  userId,  orderId,  exchangeCode, 
	}, loading)
}

